<%@ Page Title="" Language="C#" MasterPageFile="~/iFrameMasterPage.master" AutoEventWireup="true" CodeFile="iCRM_ContactFaces.aspx.cs" Inherits="iCRM_ContactFaces" %>

<%@ Register src="Ctl/ctlContactFace.ascx" tagname="ctlcontactface" tagprefix="uc2" %>
<%@ Register src="Ctl/ctlContactFaces.ascx" tagname="ctlContactFaces" tagprefix="uc1" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register src="Ctl/ctlFilterBar.ascx" tagname="ctlFilterBar" tagprefix="uc4" %>
<%@ Register src="Ctl/ctlFilterSave.ascx" tagname="ctlFilterSave" tagprefix="uc5" %>
<%@ Register src="Ctl/ctlFilterList.ascx" tagname="ctlFilterList" tagprefix="uc6" %>


<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
<asp:ScriptManager ID=ScriptManager1 runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID ="updContactFaces"  runat ="server"  >
<ContentTemplate >
<table style="width: 100%; vertical-align :middle" cellpadding ="1" cellspacing ="0">
 <tr  >
        <td style ="width :3px">                        
        </td>
        <td style ="width :350px">
            <uc4:ctlFilterBar ID="ctlFilterBar1" Lexeme =<%# TxtSerchValue %> runat="server" />            
        </td>
         <td style ="width :5px">            
            
        </td>
        <td>
            &nbsp
        </td>
        
        <td style ="text-align :right ">        
            &nbsp;</td>
    </tr>    
</table>

<asp:Panel ID="FilterList_Panel" runat="server" CssClass="modalPopup" style="display:none">
                    <div style="margin:10px">                                        
                     <uc6:ctlFilterList ID="ctlFilterList1" runat="server" />
                    </div>
</asp:Panel>

<asp:Panel ID="FilterSave_Panel" runat="server" CssClass="modalPopup" style="display:none">
                    <div style="margin:10px">                                        
                     <uc5:ctlFilterSave  ID="ctlFilterSave1" runat="server" />
                    </div>
</asp:Panel>
    
    
<cc1:ModalPopupExtender ID="ModalPopupext_FilterSave" runat="server"
                    TargetControlID="ProxyOpen_FilterSave"
                    PopupControlID="FilterSave_Panel"
                    PopupDragHandleControlID="FilterSave_Panel"
                    BackgroundCssClass="modalBackground"
                    DropShadow="false"
                    OkControlID=<%# GetOkControlID_FilterSave() %>
                    CancelControlID=<%# GetCancelControlID_FilterSave() %>
                    X ="3"
                    Y="30" />

<cc1:ModalPopupExtender ID="ModalPopupext_FilterList" runat="server"
                    TargetControlID="ProxyOpen_FilterList"
                    PopupControlID="FilterList_Panel"
                    PopupDragHandleControlID="FilterList_Panel"
                    BackgroundCssClass="modalBackground"
                    DropShadow="false"
                    OkControlID=<%# GetOkControlID_FilterList() %>
                    CancelControlID=<%# GetCancelControlID_FilterList() %>
                    X ="3" 
                    Y="30" />

<asp:LinkButton ID=ProxyOpen_FilterList runat="server"></asp:LinkButton>
<asp:LinkButton ID=ProxyOpen_FilterSave runat="server"></asp:LinkButton>




</ContentTemplate> 
</asp:UpdatePanel> 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">
    <uc1:ctlContactFaces ID="ctlContactFaces1" runat="server" /> 
 </asp:Content>

